{% extends 'base.html' %}
{% load tracked_checkboxes %}

{% block content %}
{% if pages %}
<form class="form-horizontal" action="." method="post">
	{% csrf_token %}
	<div class="tab-pane" id="tab3">
		<div class="control-group">	
				<table class="table table-condensed table-bordered table-striped">
				<thead><th>Tracked pages</td><th>Is</th></thead>
					{% tracked_boxes pages tracked %}
				</table>			
		</div>
	</div>
	<button type="submit" class="btn btn-large btn-primary">Save</button>
</form>
{% else %}
<p>There are no pages.</p>
{% endif %}

{% endblock %}